package com.xlh.dao.courseTest;

import com.xlh.dto.courseTest.CourseClassDTO;
import com.xlh.dto.courseTest.PaperListDataDTO;
import com.xlh.pojo.courseTest.CourseTestPaper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zhr 2019/2/21
 */
public interface CourseTestPaperMapperExt {
    List<PaperListDataDTO> selectPaperList(@Param("teacherId") Long teacherId, @Param("courseId") Long courseId);

    List<Long> selectAllPaperId();

    List<PaperListDataDTO> selectByStudentIdCourseId(@Param("studentId") Long userId, @Param("courseId") Long courseId);

    List<CourseTestPaper> selectByCourseIdClassIdList(@Param("list") List<CourseClassDTO> list);
}
